﻿<UserControl x:Class="SearchView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <UserControl.Resources>
    <Style TargetType="TextBlock" x:Key="label">
      <Setter Property="Foreground" Value="Black" />
      <Setter Property="FontSize" Value="20" />
      <Setter Property="FontFamily" Value="Segoe UI" />
      <Setter Property="Margin" Value="0 4 12 0" />
    </Style>
  </UserControl.Resources>
  <StackPanel>
    <Grid>
      <Grid.ColumnDefinitions>
        <ColumnDefinition Width="Auto" />
        <ColumnDefinition Width="*" />
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
        <RowDefinition />
        <RowDefinition />
        <RowDefinition />
      </Grid.RowDefinitions>
      <TextBlock Grid.Column="0" Grid.Row="0" Text="File Path:" Style="{StaticResource label}" />
      <DockPanel Grid.Column="1" Grid.Row="0">
        <Button DockPanel.Dock="Right" Name="LocateFile" Content=" ... " />
        <TextBox Name="FilePath" />
      </DockPanel>
      <TextBlock Grid.Column="0" Grid.Row="1" Text="Character:" Style="{StaticResource label}" />
      <TextBox Grid.Column="1" Grid.Row="1" Name="Character" Width="40" HorizontalAlignment="Left" />
      <Button Grid.Column="1" Grid.Row="2" Name="Search" Content="Search" />
    </Grid>
  </StackPanel>
</UserControl>